package com.example.cmpe277stockdata.constants;

import java.util.ArrayList;
import java.util.List;

import com.example.cmpe277stockdata.beans.UserPortfolio;


public class DataConstants 
{
	public static final String NEWS_RSS_FEED = "http://finance.yahoo.com/rss/headline?s=";
	
	//News Feeds Tags
	public static final String NEWS_TITLE ="title";
	public static final String NEWS_LINK = "link";
	public static final String NEWS_DESCRIPTION ="description";
	public static final String NEWS_PUB_DATE ="pubDate";
	
	public static final String NEWS_RESULT="NewsResult";
	public static final String COMPANY_NAME="CompanyName";
	public static final String TICKER_SYMBOL="TickerSymbol";

	public static final String HISTORICAL_RESULT="HistoricalResult";

	public static final String HISTORICAL_MAIN="quote";
	public static final String HISTORICAL_OPEN="Open";
	public static final String HISTORICAL_DATE="Date";
	public static final String HISTORICAL_CLOSE="Close";
	public static final String HISTORICAL_HIGH="High";
	public static final String HISTORICAL_LOW="Low";
	public static final String HISTORICAL_VOLUME="Volume";
	public static final String HISTORICAL_ADJCLOSE="Adj_Close";
	
	//Real Time RSS Feed
	public static final String REAL_RSS_FEED ="http://www.nasdaq.com/aspxcontent/NasdaqRSS.aspx?data=quotes&symbol=";
	
	//Company Information
	public static final String COMPANY_INFORMATION_TAG = "stock";
	public static final String COMPANY_FULLNAME = "Name";
	public static final String DAILY_VOLUME = "AverageDailyVolume";
	public static final String PERCENT_CHANGE = "PercentChange";
	public static final String DIVIDENT_SHARE = "DividendShare";
	public static final String DAYS_LOW = "DaysLow";
	public static final String DAYS_HIGH = "DaysHigh";
	public static final String YEARS_LOW = "YearLow";
	public static final String YEARS_HIGH ="YearHigh";
	public static final String MARKET_CAPITALIZATION = "MarketCapitalization";
	public static final String PE_RATIO ="PERatio";
	public static final String SECTOR ="Sector";
	public static final String INDUSTRY = "Industry";
	public static final String FULL_TIME_EMPLOYEES = "FullTimeEmployees";
	
	public static final String USER_DATA = "UserDetails";
	
	public static final String DATABASE_NAME = "StockDB";
	public static final String PORTFOLIO_TABLE ="Portfolio";
	
	public static boolean IS_AZURE_ACTION_COMPLETE=false;
	public static List<UserPortfolio> userSelection = new ArrayList<UserPortfolio>();

}
